package pl.ydp.components.mathcell.mathrecognizer.engine.database.modelsets.math_basic.characters
{
	import pl.ydp.components.mathcell.mathrecognizer.characters.Character;
	import pl.ydp.components.mathcell.mathrecognizer.geometry.classification.PrimitiveType;
	import pl.ydp.components.mathcell.mathrecognizer.model.PrimitivesRelation;
	import pl.ydp.components.mathcell.mathrecognizer.model.RelationDescription;
	import pl.ydp.components.mathcell.mathrecognizer.model.RelationDescriptorType;
	import pl.ydp.components.mathcell.mathrecognizer.model.ShapeModel;
	import pl.ydp.components.mathcell.mathrecognizer.model.descriptors.SizeDescriptor;
	import pl.ydp.components.mathcell.mathrecognizer.model.presets.PrimitivePresets;
	
	public class MB_ch_min
	{
		
		public static const MODELS_COUNT:Number = 1;
		
		//---------------------------------------------------
		
		public static function getModels():Array{
			
			var minusShapeModels:Array = new Array();
			
			minusShapeModels.push(getModel0());		
			
			return minusShapeModels;
		}
		
		//---------------------------------------------------
		
		private static function getModel0():ShapeModel{
			var minus:ShapeModel;
			var name:String = "MB_-_STD";
			var minus_prim:Array = new Array();
			var minus_ref:Array = new Array();
			var minus_rel:Array = new Array();
			
			minus_prim.push(PrimitiveType.LINE0);
			
			minus_ref.push(0,PrimitivePresets.ABS_FULL);
			
			minus_rel.push(new RelationDescription(0,1,new PrimitivesRelation(RelationDescriptorType.SIZE, SizeDescriptor.IS_WIDER_THAN_QUARTER, 10)));
			
			minus = new ShapeModel(Character.MINUS, minus_prim, minus_ref, minus_rel, new Array(), name, false, true);
			
			return minus;						
		}

	}
}